<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/* ****************************************************************************
  NAIYUMIE KING WANG JJANG Front End Developer <naiyumie@gmail.com>
  FileType:CRLF, Encording:UTF-8, Tab&Space:4/4
  ------------------------------------------------------------------------
  TDD
**************************************************************************** */

class TmpSetCookieTest extends N_Controller {

	public function __construct(){
		parent::__construct();

	}
	function index(){
		$cookie = array(
                   'name'   => 'TheCookieName',
                   'value'  => 'The Value',
                   'expire' => '86500',
                   'domain' => '127.0.0.1',
                   'path'   => '/',
                   'prefix' => 'myprefix_',
               );
		print_r($cookie);
		$this->input->set_cookie($cookie['name'], $cookie['value'], $cookie['expire'], $cookie['domain'], $cookie['path'], $cookie['prefix']);
	}
}